﻿@model WI.CandidateManager.Common.Data.Entities.Candidate
@{
    ViewBag.Title = @Resources.Candidate.CandidateHomePageTitle;
}

<table class="bordered">
    <thead>
        <tr>
            <th colspan="2">@Resources.Candidate.CandidateProfile</th>
        </tr>
    </thead>

    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfileLogin</td>
        <td>@Html.Label(Model.Login) </td>
    </tr>
    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfileFullName</td>
        <td>@Html.Label(Model.FullName) </td>
    </tr>
    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfileShortName</td>
        <td>@Html.Label(Model.ShortName) </td>
    </tr>
    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfileEmail</td>
        <td>@Html.Label(Model.Email) </td>
    </tr>
    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfileState</td>
        <td>@Html.Label(Model.State.ToString()) </td>
    </tr>
    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfileRank</td>
        <td>@Html.Label(Model.Rank.ToString()) </td>
    </tr>
    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfilePhone</td>
        <td>@Html.Label(Model.Phone) </td>
    </tr>
    <tr>
        <td class="vertical-header">@Resources.Candidate.CandidateProfileGender</td>
        <td>@Html.Label(Model.Gender.ToString())</td>
    </tr>
    <tr>
        <td class="vertical-header">Attachments</td>
        <td>@Html.ActionLink("Attachments", "List", "Attachment", new { area = "", entityID = Model.Id, returnUrl = this.Request.RawUrl }, null)</td>
    </tr>
</table>

<p>
    @Html.ActionLink(Resources.Candidate.CandidateChangeProfileCaption, "ChangeProfile", "Profile", new { @UserId = Model.Id }, new { @class = "common-btn-large BlueColor" })
</p>

